#ifndef DSPSIMULATOR_IMMEDIATE32_H
#define DSPSIMULATOR_IMMEDIATE32_H

#include "simulator/type/type.h"
#include "dspSimulator/operand/operand.h"

class Immediate32 : public Operand {
private:
    u32 m_data;
public:
    explicit Immediate32(u64 data) :
            m_data(data), Operand(OperandKind::IMMEDIATE) {}

    ~Immediate32() override = default;

    u32 getData() const {
        return m_data;
    }

    std::string toString() override{
        return std::to_string(m_data);
    };
};

#endif //DSPSIMULATOR_IMMEDIATE32_H
